export enum MemberType {
  User = 0,
  Group = 3,
  Position = 4,
  Department = 5,
}

export const MemberTypeKeyMap = {
  department: MemberType.Department,
  position: MemberType.Position,
  group: MemberType.Group,
  user: MemberType.User,
};

export const MemberKeyTypeMap = {
  [MemberType.Department]: 'department',
  [MemberType.Position]: 'position',
  [MemberType.Group]: 'group',
  [MemberType.User]: 'user',
};
